var express = require('express');
var router = express.Router();
const indexController = require('../controller/indexController');
let auth =require('../util/jwt.js')

/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', { title: 'Express' });
});
router.get('/music',auth,indexController.music)
router.get('/music/detail',auth,indexController.musicDetail)

router.get('/tools/oneiromancy',auth,indexController.oneiromancy)
router.get('/tools/constellation',auth,indexController.constellation)
router.get('/tools/verse',indexController.verse)
module.exports = router;
